#include "Sir.h"
#include<iostream>

int main()
  {
    Sir x;
    bool t = false;
    std::cout<<"Schimbare k?(1/0):";
    std::cin>>t;
    if(t == true) 
      {
        std::cout<<"k = ";
	std::cin>>x.k;
	x.sortare(0, max_index, x.k);
      }
      else x.sortare(0, max_index);
    x.afisare();
  }